package com.yuw.bean;

import java.util.List;

public class DeptsBean {
	private Long deptid;

	private String deptname;

	private Long managerid;

	/**
	 * 一对一映射实体变量
	 */
	private ManagerInfoBean managerB;

	/**
	 * 一对多映射实体变量
	 */
	private List<EmpsBean> lstEmps;
	
	public List<EmpsBean> getLstEmps() {
		return lstEmps;
	}

	public void setLstEmps(List<EmpsBean> lstEmps) {
		this.lstEmps = lstEmps;
	}

	public ManagerInfoBean getManagerB() {
		return managerB;
	}

	public void setManagerB(ManagerInfoBean managerB) {
		this.managerB = managerB;
	}

	public Long getDeptid() {
		return deptid;
	}

	public void setDeptid(Long deptid) {
		this.deptid = deptid;
	}

	public String getDeptname() {
		return deptname;
	}

	public void setDeptname(String deptname) {
		this.deptname = deptname == null ? null : deptname.trim();
	}

	public Long getManagerid() {
		return managerid;
	}

	public void setManagerid(Long managerid) {
		this.managerid = managerid;
	}

	@Override
	public String toString() {
		return "DeptsBean [deptid=" + deptid + ", deptname=" + deptname + ", managerid=" + managerid + ", managerB="
				+ managerB + ", lstEmps=" + lstEmps + "]";
	}

	
	
}